home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / X11 / XOpenOM.z / XOpenOM
Encoding:
Text File  |  1998-10-30  |  5.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXOOOOppppeeeennnnOOOOMMMM((((3333XXXX11111111))))      XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))       XXXXOOOOppppeeeennnnOOOOMMMM((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XOpenOM, XCloseOM, XSetOMValues, XGetOMValues, XDisplayOfOM,
  10.           XLocaleOfOM - open output methods
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           XOM XOpenOM(_d_i_s_p_l_a_y, _d_b, _r_e_s__n_a_m_e, _r_e_s__c_l_a_s_s)
  14.                 Display *_d_i_s_p_l_a_y;
  15.                 XrmDatabase _d_b;
  16.                 char *_r_e_s__n_a_m_e;
  17.                 char *_r_e_s__c_l_a_s_s;
  18.  
  19.           Status XCloseOM(_o_m)
  20.                 XOM _o_m;
  21.  
  22.           char * XSetOMValues(_o_m, ...)
  23.                 XOM _o_m;
  24.  
  25.           char * XGetOMValues(_o_m, ...)
  26.                 XOM _o_m;
  27.  
  28.           Display * XDisplayOfOM(_o_m)
  29.                XOM _o_m;
  30.  
  31.           char * XLocaleOfOM(_o_m)
  32.                 XOM _o_m;
  33.  
  34.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  35.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  36.  
  37.           _d_b        Specifies a pointer to the resource database.
  38.  
  39.           _r_e_s__n_a_m_e  Specifies the full resource name of the
  40.                     application.
  41.  
  42.           _r_e_s__c_l_a_s_s Specifies the full class name of the application.
  43.  
  44.           _o_m        Specifies the output method.
  45.  
  46.           ...       Specifies the variable length argument list to set
  47.                     or get XOM values.
  48.  
  49.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  50.           The _X_O_p_e_n_O_M function opens an output method matching the
  51.           current locale and modifiers specification.  The current
  52.           locale and modifiers are bound to the output method when
  53.           _X_O_p_e_n_O_M is called.  The locale associated with an output
  54.           method cannot be changed.
  55.  
  56.           The specific output method to which this call will be routed
  57.           is identified on the basis of the current locale and
  58.           modifiers.  _X_O_p_e_n_O_M will identify a default output method
  59.           corresponding to the current locale.  That default can be
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXOOOOppppeeeennnnOOOOMMMM((((3333XXXX11111111))))      XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))       XXXXOOOOppppeeeennnnOOOOMMMM((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           modified using _X_S_e_t_L_o_c_a_l_e_M_o_d_i_f_i_e_r_s to set the output method
  75.           modifier.
  76.  
  77.           The db argument is the resource database to be used by the
  78.           output method for looking up resources that are private to
  79.           the output method.  It is not intended that this database be
  80.           used to look up values that can be set as OC values in an
  81.           output context.  If db is NULL, no database is passed to the
  82.           output method.
  83.  
  84.           The res_name and res_class arguments specify the resource
  85.           name and class of the application. They are intended to be
  86.           used as prefixes by the output method when looking up
  87.           resources that are common to all output contexts that may be
  88.           created for this output method.  The characters used for
  89.           resource names and classes must be in the X Portable
  90.           Character Set.  The resources looked up are not fully
  91.           specified if res_name or res_class is NULL.
  92.  
  93.           The res_name and res_class arguments are not assumed to
  94.           exist beyond the call to _X_O_p_e_n_O_M.  The specified resource
  95.           database is assumed to exist for the lifetime of the output
  96.           method.
  97.  
  98.           _X_O_p_e_n_O_M returns NULL if no output method could be opened.
  99.  
  100.           The _X_C_l_o_s_e_O_M function closes the specified output method.
  101.  
  102.           The _X_S_e_t_O_M_V_a_l_u_e_s function presents a variable argument list
  103.           programming interface for setting properties or features of
  104.           the specified output method.  This function returns NULL if
  105.           it succeeds; otherwise, it returns the name of the first
  106.           argument that could not be obtained.
  107.  
  108.           No standard arguments are currently defined by Xlib.
  109.  
  110.           The _X_G_e_t_O_M_V_a_l_u_e_s function presents a variable argument list
  111.           programming interface for querying properties or features of
  112.           the specified output method.  This function returns NULL if
  113.           it succeeds; otherwise, it returns the name of the first
  114.           argument that could not be obtained.
  115.  
  116.           The _X_D_i_s_p_l_a_y_O_f_O_M function returns the display associated
  117.           with the specified output method.
  118.  
  119.           The _X_L_o_c_a_l_e_O_f_O_M returns the locale associated with the
  120.           specified output method.
  121.  
  122.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  123.           XCreateOC(3X11), XCreateFontSet(3X11)
  124.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.